


let EditorView = require('./EditorView');

let eui = {
    init(){
        console.log('============eui init==============');

        //
        G.eui = this;

        // gui 应该可以全部搞起来了
        let editorView = new EditorView();
        editorView.initEditor();
    },


    //-----------------------------------
    // for adapter
    containPos(node,localPos){
        let rect = node.getBoundingBox();
        return rect.contains(localPos);
    },
};

window.eui = eui;
module.exports = eui;
